package com.plian.system.entity.qg.subsidiary;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @description: 混改后企业股权结构
 * @author: gangan
 * @create: 2020-06-30 09:29
 */
@Data
@TableName("qg_mixed_ownership_structure")
@EqualsAndHashCode(callSuper = true)
public class MixedOwnershipStructure extends BaseEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主表id")
    private Long mixedReformId;

    @ApiModelProperty(value = "股东", required = true)
    private String shareholders;

    @ApiModelProperty(value = "股权比例", required = true)
    private BigDecimal equityRatio;

    @ApiModelProperty(value = "实缴金额", required = true)
    private String orgPaidCapital;

    @ApiModelProperty(value = "认缴金额", required = true)
    private String orgSubscribedCapital;

    @ApiModelProperty(value = "股东性质 字典：130")
    private String shareholdersNature;
}
